<template>
  <div class="wrapper">
    <div>
      <div class="img">
        <img :src="pro.smallImg" alt="" />
      </div>
      <div class="title title_name">{{ pro.name }}</div>
      <div class="titleEng title_name">{{ pro.enname }}</div>
      <div class="price">&yen;{{ pro.price }}</div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Pro",
  props: {
    pro: {
      type: Object,
      default() {
        return {};
      },
    },
  },
  methods: {
    
  },
};
</script>

<style lang="less" scoped>
.img {
  width: 100%;
  // height: 100px;
  background-color: #e4393c;
  margin: auto;
  img {
    width: 100%;
    height: 100%;
    display: block;
  }
}
.title {
  font-weight: bold;
  margin-top: 5px;
  font-size: 14px;
}
.titleEng {
  color: #666;
} 
.title_name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.price {
  color: #e4393c;
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
}
</style>